# 写入  追加，覆盖写入

# # w 覆盖写入
# f = open("写入.txt", mode="w", encoding="utf-8")
# f.write("好好学习，天天向上\n")
# f.write("good good study, day day up")
#
# f.close()

# a 追加
f = open("写入.txt", mode="a", encoding="utf-8")
f.write("\n德云测")
f.close()
